<?php
/**
 *
 * @authors  Ysg (y.shi.guo@gmail.com)
 * @website  http://ysg.bonza.cn
 * @date     2017-08-09 14:48:47
 */

class Factory
{

    function __construct(){

    }

    static public function getShape($classname)
    {
    	$classname = ucwords(strtolower($classname));
    	return new $classname;
    }
}
